package com.example.vo.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "商品分页返回对象")
public class ProductPageResp {
    @Schema(description = "商品id")
    private Long id;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "商品分类")
    private String cateName;
    @Schema(description = "商品分类id")
    private Long cateId;
    @Schema(description = "商品简介")
    private String info;
    @Schema(description = "商品图片")
    private String image;
    @Schema(description = "商品价格")
    private BigDecimal price;
    @Schema(description = "状态（0：未上架，1：上架）")
    private Boolean isShow;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
